package vn.personal.anhht.bloback12.bean;

public class CallLogObject {
	private String name="";
	private String phone="";
	private String time="";
	private int type;
	private boolean ischecked = false;
	
	public CallLogObject(String _name, String _phone, String _time, boolean _isChecked, int _type){
		this.name = _name;
		this.phone = _phone;
		this.time = _time;
		this.ischecked = _isChecked;
		this.type = _type;
	}
	public CallLogObject(){
        this.name = "";
        this.phone = "";
        this.time = "";
        this.ischecked = false;
        this.type = -1;
    }
	public boolean isIschecked() {
		return ischecked;
	}

	public void setIschecked(boolean ischecked) {
		this.ischecked = ischecked;
	}

	public String getName() {
		return(name);
	}
	
	public void setName(String name) {
		this.name=name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	public String toString() {
		return(getName());
	}
    public void setType(int type) {
        this.type = type;
    }
    public int getType() {
        return type;
    }
	
}
